package exception.exception02;

public class ThrowDemo {
    public static void main(String[] args) {
        Student zs = new Student();
        try {
            zs.setAge(100);
            System.out.println("年龄是"+zs.getAge());
        }catch (Exception e){
            e.printStackTrace();
        }
        System.out.println("结束了");



    }
}
